package xyz.xtt.asset.service;

import com.tongtong.middleware.vo.params.AccountParams;
import com.tongtong.middleware.vo.response.AccountResponse;

import xyz.xtt.asset.vo.CommonResponse;
import xyz.xtt.asset.vo.CreateGorupResult;

public interface IThirdService {
	/**
	 * 創建鏈帳戶
	 * 
	 * @param req
	 * @return
	 */
	AccountResponse createAndQueryAccount(AccountParams req);

	/**
	 * 创建群
	 * 
	 * @param masterId
	 * @return
	 */
	CreateGorupResult createGorup(Long assetId, Long orderId, Long masterId, String groupName);

	/**
	 * 加入群
	 * 
	 * @param orderId
	 * @param from
	 * @param groupId
	 * @param userId
	 * @return
	 */
	Boolean joinGroup(Long orderId, Long from, Long groupId, String thirdGroupId, Long userId, Integer source);

	/**
	 * 检查好友关系
	 * 
	 * @param assetId
	 * @param from
	 * @param to
	 * @return
	 */
	Boolean checkFriend(Long assetId, Long from, Long to);

	/**
	 * 超级群
	 * 
	 * @param uid
	 * @return
	 */
	CommonResponse addGroupMaxMemberCount(Long uid);

}
